package com.wf.course.dao;

import com.utils.page.PageBean;
import com.wf.course.model.comm.GroupBuying;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IGroupBuyingMapper {

    List<GroupBuying> activityList(PageBean<GroupBuying> pageBean);

    Integer activityCount(PageBean<GroupBuying> pageBean);

    Integer addActivity(GroupBuying groupBuying);

    Integer updateActivity(GroupBuying groupBuying);

    GroupBuying searchActivity(@Param("id") Integer id);

    Integer deleteActivity(@Param("id") Integer id);

    List<GroupBuying> activityMemberList(PageBean<GroupBuying> pageBean);

    Integer activityMemberCount(PageBean<GroupBuying> pageBean);
}
